// 参数接口
export interface AddScoreParams {
  /*选课ID */
  enrollmentId: number

  /*学生ID */
  studentId: number

  /*课程成绩 */
  grade: number

  /*平时成绩 */
  usualGrade: number

  /*考试成绩 */
  examGrade: number
}

// 响应接口
export interface AddScoreRes {
  /* */
  code: number

  /* */
  message: string

  /* */
  data: string
}

// 响应接口
export interface DeleteScoreByScoreIdRes {
  /* */
  code: number

  /* */
  message: string

  /* */
  data: string
}

// 响应接口
// export interface ShowScoresByAdminRes {
//     code: number;
//     data: {
//       list: {
//         scoreId: number;
//         enrollmentId: number;
//         studentId: number;
//         grade: number;
//         createTime: Record<string, unknown>;
//         usualGrade: number;
//         examGrade: number;
//       }[];
//       total: number;
//     };
//     message: string;
//   }

// 响应接口
// export interface ShowScoresByStudentRes {
//     code: number;
//     data: {
//       list: {
//         scoreId: number;
//         enrollmentId: number;
//         studentId: number;
//         grade: number;
//         createTime: Record<string, unknown>;
//         usualGrade: number;
//         examGrade: number;
//       }[];
//       total: number;
//     };
//     message: string;
//   }

// 响应接口
// export interface ShowScoresByTeacherRes {
//     code: number;
//     data: {
//       list: {
//         scoreId: number;
//         enrollmentId: number;
//         studentId: number;
//         grade: number;
//         createTime: Record<string, unknown>;
//         usualGrade: number;
//         examGrade: number;
//       }[];
//       total: number;
//     };
//     message: string;
//   }

// 参数接口
export interface UpdateScoreParams {
  /*成绩ID */
  scoreId: number

  /*选课ID */
  enrollmentId: number

  /*学生ID */
  studentId: number

  /*课程成绩 */
  grade: number

  /*平时成绩 */
  usualGrade: number

  /*考试成绩 */
  examGrade: number
}

// 响应接口
export interface UpdateScoreRes {
  /* */
  code: number

  /* */
  message: string

  /* */
  data: string
}
